﻿<!DOCTYPE html>
@using BattleThis.Controllers;
<html>
<head>
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.4.4.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/knockout/knockout-2.1.0rc2.js")" type="text/javascript"></script>
    @RenderSection( "AdditionalHeader", false )
    
</head>

<body>

@if ( !this.IsSectionDefined("Menu") && this.User.Identity.IsAuthenticated) 
{ 
    <div id="menu">
        <ul>
            <li>
            @this.Html.ActionLink("Lobby", LobbyController.IndexAction, LobbyController.Info.ControllerName)
            </li>
            <li>
            @this.Html.ActionLink("Log out", AccountController.LogOutAction, AccountController.Info.ControllerName)
            </li>
            @RenderSection("MenuExtension",false)
        </ul>
    </div>    
}

@RenderBody()
</body>
</html>
